#!/bin/sh
pids="$(/bin/pidof freeswitch)"
if [ "$pids" = "" ]; then
    /usr/bin/freeswitch -u freeswitch -g freeswitch -ncwait -nonat > /dev/null 2>&1
fi